package com.yfproject.controller;

import org.springframework.cache.annotation.CacheEvict;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/lable")
public class LableController2 {
	
	/**
	 * 清除所有缓存
	 */
	@RequestMapping(value="/cleanCache")
	@CacheEvict(cacheNames="label",allEntries=true)
	public void  cleanCache() {
		
	}

}
